NitroPack\SDK\Pagecache B

Total Complexity 78
Dependencies 5
Dependents 1
Total lines 270
Lines of code 215
Logical lines of code 125
Comment lines 6
Methods 26
Properties 10

Methods 26

Method Rating Maintainability Complexity Lines of code
hasExpired()
A
50 11 27
readfile()
A
53 8 22
getUrlDir()
S
59 4 13
headersFlatten()
S
61 4 13
cookiePrefix()
S
60 4 12
setContent()
S
63 4 11
hasCache()
S
65 4 9
getCachefilePath()
S
66 4 7
convertToStaleCache()
S
59 3 14
setReferer()
S
66 3 8
canUseCompression()
S
78 3 3
setDataDir()
S
65 3 10
ajaxPrefix()
S
77 3 3
isCompressionAllowed()
S
77 2 3
customCachePrefix()
S
75 2 4
sslPrefix()
S
78 2 3
useInvalidated()
S
72 2 6
getFileContents()
S
70 2 7
disableCompression()
S
72 2 6
enableCompression()
S
72 2 6
__construct()
S
62 1 11
getUseInvalidated()
S
82 1 3
compress()
S
70 1 5
getParent()
S
82 1 3
getReferer()
S
82 1 3
nameOfCachefile()
S
78 1 3